package com.maochang.top.bean;


import org.springframework.web.context.WebApplicationContext;

import java.util.List;

public class Book {
    //创建属性
    private String bookName;
    private String bookAuthor;
    private List<String> list;
    //创建属性对应的 set 方法

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBookAuthor() {
        return bookAuthor;
    }

    public void setBookAuthor(String bookAuthor) {
        this.bookAuthor = bookAuthor;
    }

    public Book(String bookName, String bookAuthor) {
        this.bookName = bookName;
        this.bookAuthor = bookAuthor;
    }

    public Book() {
    }
}
